<template>
  <van-config-provider :theme-vars="themeVars" theme-vars-scope="global">
    <router-view />
  </van-config-provider>
</template>

<script type="ts" setup>
import { ConfigProvider } from 'vant';
import { useThemeConfig } from '@/stores/themeConfig';
import { storeToRefs } from 'pinia';
const store = useThemeConfig();
const {themeVars} = storeToRefs(store)
</script>

